home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / util / time / wbclock.lha / README next >
Text File  |  1994-10-06  |  3KB  |  59 lines

  1. WBClock
  2. -------
  3.  
  4. I wanted a clock that wouldn't be using up valuable window space.
  5.  
  6. I thought, "Hey, most other systems have iconisable clocks that keep telling
  7. the time as icons on the desk top."
  8.  
  9. I looked for one.  Not real hard, but I had a look at all the clocks on
  10. aminet etc, but failed to find one.
  11.  
  12. I spent not very long at all writing wbclock.
  13.  
  14. I realized _why_ people had not written one for the workbench (should have
  15. been obvious from the start, but well, sometimes I'm a bit slow).  The sad
  16. sad sad updating of icons on the workbench is so farcicle.
  17.  
  18. Anyway, this is the result.  It is completely in the public domain.  You can
  19. use the code to do whatever you please.  The algorithms for drawing lines,
  20. clearing circles etc are quite poor.  They work ok though.  Things it
  21. probably should do but doesn't include support for locale, putting its hand
  22. up to be in the commodities list, alarms and configurability.  If you want
  23. 'em you can add 'em.  None should be too difficult.
  24.  
  25. The icon is based on MagicWB colours and style.  You are free to replace the
  26. icon with another, and it should work fine provided that the icon has circles
  27. of the same size in the normal and selected images which are centred and
  28. offset 1 pixel down and right respectively.
  29.  
  30. The program draws the clock hands OVER IT'S OWN ICON.  Hence a simple way to
  31. install it is to drop it in your WBStartup drawer, and then "Leave Out" and
  32. snapshot it onto your desktop somewhere.  If the program stops unexpectedly,
  33. it will of course stop moving  the hands around, but the icon will still be
  34. shown on the workbench ... If you run wbclock again, it will shutdown the
  35. original.
  36.  
  37. Because it is doing a PutDiskObject every minute it will access whatever
  38. medium _every_ _minute_.  You may find this irritating if you have a noisy
  39. drive.  Perhaps launching it from ram would be ok, but this takes
  40. significantly more fiddling to set up.
  41.  
  42. Also because of the sad way the icon updating is done, if the icon is on
  43. your desktop, every minute all the icons will be refreshed ... this is
  44. the worst flaw of this clock.  See if it is too annoying ... I suspect many
  45. people will find it so.
  46.  
  47. This was compiled with SAS 6.50, and ran on my GVP 030 upgraded 2000 under
  48. both 2.1 and 3.0.  It does nothing unpleasant so I can't see why it won't
  49. run under any system with 2.0 or later.
  50.  
  51. Anyway, have fun,
  52. Evan.
  53.  
  54. evan@ucc.gu.uwa.edu.au
  55.  
  56. PS: I do not intend to do any more work on this, so do not bother to contact
  57. me with suggestions.  (or complaints, or flames, or anything else)
  58.  
  59.